package linkedList2;

/*
 * 狗类
 */

public class Dog {

	private String name; // 名字
	private String strain; // 品种

	public Dog() {

	}

	public Dog(String name, String strain) {
		this.name = name;
		this.strain = strain;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStrain() {
		return strain;
	}

	public void setStrain(String strain) {
		this.strain = strain;
	}

}
